﻿using Coldairarrow.Entity.Base;
using Coldairarrow.Util;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Coldairarrow.Business.Base
{
    public partial interface IBase_RegistrationBusiness
    {
        Task<PageResult<Base_Registration>> GetDataListAsync(PageInput<ConditionDTO> input);
        Task<Base_Registration> GetTheDataAsync(string id);
        Task AddDataAsync(Base_Registration data);
        Task UpdateDataAsync(Base_Registration data);
        Task DeleteDataAsync(List<string> ids);

        /// <summary>
        /// 看板注册列表
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<PageResult<Base_RegistrationDto>> GetBase_RegistrationList(PageInput<Base_RegistrationCondition> input);
        /// <summary>
        /// 获取当前看板所在的组织
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task<Base_RegistrationDtoDeptList> GetRegistrationDtoDeptList(string DeviceId);

    }
}